Three Phase AC Voltage Measurement using Arduino

Today, in this article, you will learn how to make Three Phase AC Voltage Measurements using Arduino. At first, we will show you how to measure single-phase AC voltage and then measure three-phase AC voltage.

Features of Three Phase AC Voltage Measurement using Arduino:

  1. Can measure AC voltage of any amplitude.
  2. Show individual phase voltage.
  3. LED indication for individual phase voltage.
  4. For the protection of the control board (Arduino Board), a variable resistor is used i.e. output voltage must not be more than 4.5V even when Zener diode burnout.
Three Phase AC Voltage Measurement using Arduino prototype
Author Prototype

Working Principle:

High AC input voltage is first converted to lower AC voltage with the help of a transformer and then rectifier using a full-wave bridge rectifier. The output of the rectifier is given to the voltage divider network which lowers the rectified output DC voltage and further filters and passes to the zener diode. The output is given to Arduino input analog input pin A0.

Circuit Description of Three Phase AC Voltage Measurement using Arduino:

The circuit is very simple and easy to understand and is designed around the transformer, bridge rectifier, zener diode, Arduino uno, LCD, and a few other components like resistor and capacitor, etc.

single phase ac voltage measuremnt

The input AC voltage to be measured is given to the primary side of transformer X1, which lowers the high input voltage (say 220V AC) to low AC voltage (say 12V AC) in this case. Arduino cannot measure the negative half cycle as input thus we need to either clip or have to change the negative half cycle to the positive half cycle. To do the show, we are using a bridge rectifier. Check out the article on full-wave bridge rectifiers to know more about rectification.

The stepdown AC voltage (12V AC) is rectified using four diodes (1N4001). The rectified output is fed to a voltage divider network designed using variable resistor VR1. Two fixed terminals of the variable resistor are connected to the positive and negative terminal of rectified output as shown in the circuit diagram. Output is taken from the variable wiper of variable resistor VR1. The output is now filtered using capacitors C1 and C2. A zener diode is used here to protect the zener diode which breakdown when the input voltage exceeds 3.7V. This output voltage is now given to Arduino uno analog pin A0.

ac voltage measuring using arduino

Arduino measure this voltage and displayed it over LCD. LCD is connected to Arduino in higher-order data bit i.e. only higher-order data pin (D4 to D7) is used for communication between Arduino and LCD. Data pins D4 to D7 are connected to Arduino D10 to D7 respectively as shown in the circuit diagram. Where EN and RS pin is connected to Arduino D11 and D12 respectively. Vss, RW and LED- pin of LCD is connected to GND where VDD pin is connected to +5V. VEE pin is responsible for contrast adjustment and the supply voltage must be between VDD and VSS thus wiper pin of VR2 is connected to this pin. LED+ pin of LCD is connected to +5V through a current limiting resistor as shown in the circuit diagram.

Check out the tutorial video on How to Interface Arduino and LCD

Calibration Software Code

How to Calibration:

Procedure for calibration

  1. Measure AC mains voltage using a multimeter (in the context of Nepal it is 230V ideally but practically it shows 227V AC).
  2. Adjust the variable resistor so that the output voltage from the Zener diode is constant and lower than 3.7V (Say 2.66V DC).
  3. Upload the calibrating software to your Arduino and open Serial Monitor.
  4. It displays some value (say 545). Save the value because we need it for further calculation. Adjust the variable resistor to achieve this value (545)
  5. Now, calculate the multiplier.

For 5V DC Arduino show a 1023 value, similarly, by using the unitary method we can calculate voltage for 1 division it shows

1023 = 5V;

1 = 5/1023 V

Thus for, 545 division voltage = (5/1023)*545 = 2.66V.

When the mains voltage is 227V AC Arduino shows 2.66V, by using the unitary method

Multiplier = 227V / 2,66V = 85.30

Therefore, Multiplier = 85.30.

Software Code for Single Phase AC Voltage measurement:

Circuit for Three-Phase Voltage Measurement

The circuit for three-phase AC voltage is the same as that of single-phase with two extra single-phase voltage measurements.

Three Phase AC Voltage Measurement using Arduino circuit

Software Code for Three Phase AC Voltage Measurement using Arduino

Check out  other top popular Articles :

What is underpinning

Clock Signal Generator Circuit

One Thought to “Three Phase AC Voltage Measurement using Arduino”

  1. Mehmet Atay

    I tried the simulation, it didn’t work, I wonder what did I do wrong

Leave a Comment